﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{$GetSiteName}-新会员注册</title>
<link href="{$GetInstallDir}user/images/css.css" type=text/css rel=stylesheet>
<script src="{$GetInstallDir}ks_inc/jquery.js" type="text/javaScript"></script>
<script src="{$GetInstallDir}ks_inc/common.js" type="text/javaScript"></script>
<script src="{$GetInstallDir}ks_inc/kesion.regcheck.js" type="text/javaScript"></script>
<script>var installDir='{$GetInstallDir}';</script>
<script type="text/javascript" charset="gbk" src="{$GetInstallDir}editor/ueditor.config.js"></script>
<script type="text/javascript" charset="gbk" src="{$GetInstallDir}editor/ueditor.all.js"> </script>
<script type="text/javascript" charset="gbk" src="{$GetInstallDir}editor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
var minlen={$Show_UserNameLimitChar};
var maxlen={$Show_UserNameMaxChar};
var question={$Show_Question};
var mobile={$Show_Mobile};
var mobileCodeTF={$Show_MobileCodeTF};
var detailTF={$Show_DetailTF};

$(window).load(function(){
 $("input[name=GroupID]").click(function(){
   loadDetailForm();
 });
 if ($("#detailForm").css("display")!="none"){
  loadDetailForm();
 }
 
});
function loadDetailForm(){
  if (detailTF!=2) return;
  var groupid=$("input[name=GroupID]:checked").val();
  if (groupid==undefined) groupid=$("#GroupID").val();
  if (groupid==undefined && detailTF!=2) return;
  $("#loading").show();
	  $.get("{$GetInstallDir}user/reg/regajax.asp",{action:"getregform",groupid:groupid},function(d){
	  $("#userDetail").hide().html(unescape(d)).fadeIn("slow");
	   $("#loading").hide();
  });
}

function loadCity(v,ll){
 $.get("{$GetInstallDir}user/reg/regajax.asp",{action:"getcityoption",province:escape(v)},function(d){
   $("#City").empty().append("<option value=''>--请选择城市--</option>").append(d);
   if(ll==22){
	   $('#City option[value=广州市]').attr("selected", true)
   }
 });
}

</script>
<!--[if IE 6]>
<script src="{$GetInstallDir}js/iepng.js" type="text/javascript"></script>
<script type="text/javascript">
   EvPNG.fix('div, ul, img, li, input'); 
</script>
<![endif]-->
</head>
<body>
{LB_会员中心头部}

<div class="hearder">
	<div class="logoNav">
		<div class="wrap">
			<div class="logo"><a href="{$GetInstallDir}"><img src="{$GetInstallDir}images/logo-black.png" alt="KESION" /></a></div>
			<div class="nav">
				<ul>
					<li ><a href="{$GetInstallDir}">首页</a></li>
					<li class="current"><a href="{$GetInstallDir}user/">会员</a></li>
					<li><a href="{$GetInstallDir}user/weibo.asp">微博</a></li>
					<li><a href="{$GetInstallDir}club/">论坛</a></li>
					<li><a href="{$GetInstallDir}space/">门户</a></li>
					<li><a href="{$GetInstallDir}user/user_payonline.asp">充值</a></li>
					<li><a href="{$GetInstallDir}user/Complaints.asp">投诉</a></li>
					<li><a href="{$GetInstallDir}user/UserLogout.asp"  onclick="return(confirm('确认退出吗？'))">退出</a></li>
			　　　</ul>
			</div>
		</div>
	</div>
</div>
<div class="blank10 clear"></div>
<div class="mainer">
<div id="main">
	<div class="regL">
		 <form name="myform" id="myform" action="UserRegResult.asp" method="post" >
		<h1>新用户注册</h1>
		<ul class="mt30">
		
		
		    <li{$DisplayUserType}>
				<span class="label">用户类型</span>
				<div style="margin-top:10px;">&nbsp;&nbsp;{$ShowUserType}</div>
			</li>
			
			<li>
				<span class="label">用户名:</span>
				<input type="text" class="nameInput textbox" name="UserName" id="UserName" value="" maxlength="15" autocomplete="on" onBlur="out_username();" onKeyUp="out_username();" onFocus="on_input('usernamemsg');"{$UserName}/>
				<span id="usernamemsg" class="d_default"></span>
			</li>
			<li>
				<span class="label">电子邮箱:</span>
				<input type="text" class="emialInput textbox" name="Email" id="Email" onFocus="on_input('emailmsg');"  onBlur="out_email();"  onkeyup='out_email();' value="" maxlength="50" autocomplete="on" />
				<span id="emailmsg" class="d_default">请输入您常用的电子邮箱地址</span>
			</li>
			<li>
				<span class="label">登录密码:</span>
				<input type="password" class="emialLock textbox"  maxlength="20" id="PassWord" name="PassWord" autocomplete="on" style="font-FAMILY: verdana;" onBlur="out_password1();" />
				<span id="passwordmsg1" class="d_default"></span>
			</li>

			
			<li>
				<span class="label">确认密码:</span>
				<input type="password" class="emialLock textbox" maxlength="20" name="RePassWord" id="RePassWord" onFocus="on_input('passwordmsg2');" onBlur="out_password2();" autocomplete="on" style="font-FAMILY: verdana;"/>
				<span id="passwordmsg2" class="d_default"></span>
			</li>
			<li>
				<span class="label">手机号码:</span>
				<input name="Mobile"  onkeyup="out_mobile();" onBlur="out_mobile();" onFocus="on_input('mobilemsg');" type="text" id="Mobile" class="input textbox">
				<span id="mobilemsg" class="d_default"></span>
			</li>
			<li{$DisplayMobileCode}>
				<span class="label">手机验证码:</span>
				<input name="MobileCode"  style="width:80px" maxlength="6" type="text" id="MobileCode" class="input textbox" onFocus="$('#MobileCodeBtn').removeAttr('disabled')" >
				<input type="button" value="免费获取手机验证码" id="MobileCodeBtn" disabled="disabled" onClick="getMobileCode({$Show_OutTimes},'101','Mobile','MobileCodeBtn')" class="button"/>
				<span id="mobilemsg" class="d_default"></span>
			</li>
			
			
			<li{$DisplayQestion}>
				<span class="label">提示问题</span>
				<Select class="select" id="Question" style="width:290px" onBlur="out_question()" onChange="out_question()" name="Question">
                    <Option value="" selected>--请您选择--</Option>
                    <Option value="我的宠物名字？">我的宠物名字？</Option>
                    <Option value="我最好的朋友是谁？">我最好的朋友是谁？</Option>
                    <Option value="我最喜爱的颜色？">我最喜爱的颜色？</Option>
                    <Option value="我最喜爱的电影？">我最喜爱的电影？</Option>
                    <Option value="我最喜爱的影星？">我最喜爱的影星？</Option>
                    <Option value="我最喜爱的歌曲？">我最喜爱的歌曲？</Option>
                    <Option value="我最喜爱的食物？">我最喜爱的食物？</Option>
                    <Option value="我最大的爱好？">我最大的爱好？</Option>
                    <Option value="我中学校名全称是什么？">我中学校名全称是什么？</Option>
                    <Option value="我的座右铭是？">我的座右铭是？</Option>
                    <Option value="我最喜欢的小说的名字？">我最喜欢的小说的名字？</Option>
                    <Option value="我最喜欢的卡通人物名字？">我最喜欢的卡通人物名字？</Option>
                    <Option value="我母亲/父亲的生日？">我母亲/父亲的生日？</Option>
                    <Option value="我最欣赏的一位名人的名字？">我最欣赏的一位名人的名字？</Option>
                    <Option value="我最喜欢的运动队全称？">我最喜欢的运动队全称？</Option>
                    <Option value="我最喜欢的一句影视台词？">我最喜欢的一句影视台词？</Option>
              </Select> 
				<span id="questionmsg" class="d_default"></span>
			</li>
			<li{$DisplayQestion}>
				<span class="label">提示答案:</span>
				<input name="Answer" onBlur="out_answer();" onFocus="on_input('answermsg');" type="text" id="Answer" class="input">
				<span id="answermsg" class="d_default"></span>
			</li>
			
			<li{$DisplayRegQuestion}>
				<span class="label">您的问题:</span>
				<div style="color:#777;height:35px;line-height:35px">
				&nbsp;&nbsp;{$RegQuestion}
				</div>
			</li>
			<li{$DisplayRegQuestion}>
				<span class="label">您的答案:</span>
				<input name="a{$AnswerRnd}" id="a{$AnswerRnd}" class="input textbox" onFocus="on_input('reganswermsg');" type="text">
				<span id="reganswermsg" class="d_default"></span>
			</li>
			
			
			<li{$Show_VerifyCodeTF}>
				<span class="label">验证码:</span>
				<input class="yamInput textbox" maxlength="4" type="text" value="" onKeyUp="out_chkcode();" onBlur="out_chkcode();" onFocus="on_input('chkcodemsg');" name="Verifycode" id="Verifycode" autocomplete="on" />
				<span id="showVerify"><img id="regCodeImg" src="{$GetInstallDir}plus/verifycode.asp" style="cursor:pointer;" onClick="getCode();"/></span>
				<span id="chkcodemsg" class="d_default"></span>
			</li>
			
			
		</ul>
		
		<ul>
		    <div class="regL" id="detailForm"{$Show_Detail}>
			 <h1>用户详细信息</h1>
			 <div id="userDetail" style="padding-top:10px;"></div>
		   </div>
			<li>
					<input type="submit" class="btn_reg textbox" id="btnSubmit"  onclick="return(CheckRegForm());" value="注 册"/>
			</li>
		
		    <li>
				<span class="clause mt20">
				<input name="viewlicense" id="viewlicense" type="checkbox" class="chexBox textbox" checked="checked" onClick="getlicense()" value="1" checked="checked"/>
					我已阅读并同意<i>《用户通行证服务条款》</i>
				</span>
			</li>
		</ul>
		</form>
		
		<div id="license" style="display:none">
						 <h3>阅读服务条款</h3>
						 <div class="reglice">{$GetUserRegLicense}</div>
				    </div>
		
		</div>
		
		
		
	<div class="regR">
		<a href="/user/login" class="loginTxt"><span>我已经注册现在就登录</span><i></i></a>
	</div>
	</div>
</div><!--登录结束-->
<div class="foot">
	<p>{$GetCopyRight}</p>
</div>

</body>
</html>